﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinqToPi.Attributes;

namespace LinqToPi
{
    public partial class PiPoint
    {
        //'changedate', 'creationdate', 'pointid', 'pointnumber', 'ptclassid', 'ptclassrev' are internal (read only on db)
        public int Archiving { get; set; }
        [DbReadOnly]
        public DateTime ChangeDate { get; set; }
        [DbReadOnly]
        public string Changer { get; set; }
        public double CompDev { get; set; }
        public double CompDevPercent { get; set; }
        public double CompMax { get; set; }
        public double CompMin { get; set; }
        public int Compressing { get; set; }

        [DbReadOnly]
        public DateTime Creationdate { get; set; }
        [DbReadOnly]
        public string Creator { get; set; }
        public string DataAccess { get; set; }
        public string DataGroup { get; set; }
        public string Descriptor { get; set; }
        public string DigitalSet { get; set; }
        public int DisplayDigits { get; set; }
        public string EngUnits { get; set; }
        public double ExcDev { get; set; }
        public double ExcDevPercent { get; set; }
        public double ExcMax { get; set; }
        public double ExcMin { get; set; }
        public string ExDesc { get; set; }
    
        [DbReadOnly]
        public double PointID { get; internal set; }

        [DbReadOnly]
        public double PointNumber { get; internal set; }

         public string PointSource { get; set; }
        [DbReadOnly]
        public string PointType { get; set; }
        public string PointTypeX { get; set; }
        public string PtAccess { get; set; }

        [DbReadOnly]
        public double PtClassID { get; internal set; }

        public string PtClassName { get; set; }
        [DbReadOnly]
        public double PtClassRev { get; internal set; }

        public string PtGroup { get; set; }
        public string PtOwner { get; set; }
       
        public int Scan { get; set; }
        public int ShutDown { get; set; }
        public string SourceTag { get; set; }
        public double Span { get; set; }
        public int Step { get; set; }

        [IdentitySpecification]
        public string Tag { get; set; }
        public double TypicalValue { get; set; }
      
        public double Zero { get; set; }
    }
}
